<extend name='layout:index'/>
<block name='content'>
     <body>
<div class="col-sm-12">
<div style="height: 50px">

</div>
<div class="ibox-content">
          
        </div>
<div>

<div class="table-responsive">
<table class="table table-bordered table-striped table-hover">
	<thead>
		<tr>
			<th>编号</th>
			<th>交易类型</th>
			<th>交易数量</th>
			<th>成交单价</th>
			<th>成交总额</th>
			<th>成交日期</th>
		</tr>
	</thead>
		
		<tbody>
<foreach name='cash' item='vo' key='k'>
 	<tr> 
		<td>{$k+1}</td>
		<td><if condition='$vo.sell_user_id eq $id'>卖出<else />买入</if></td>
		<td>{$vo.sell_num}</td>
		<td>{$vo.sell_money}</td>
		<td>{$vo.cashnum}</td>
		<td><if condition='$vo.sell_time neq 0'>
				<?php echo date('Y-m-d H:i:s',$vo['sell_time']); ?>
				<else />
				<?php echo date('Y-m-d H:i:s',$vo['buy_time']); ?>
			</if>
		</td>
	</tr>
</foreach>
</tbody>
</table>

</div>



<div class="">
<form name="selectPageForm" action="/ELT/zx70/rp_user.php" method="get">


 <div id="pager">
  <span style="margin-right:10px;">总计 <b>1</b>  个记录</span>
      
      </div>


</form>
<script type="Text/Javascript" language="JavaScript">


</script>
</body>

</block>